#version 400

in vec3 VertexPosition;
in vec3 VertexColor;

uniform mat4 ModelViewMatrix;
uniform mat4 ProjectionMatrix;
uniform mat4 MVPMatrix; // Projection * ModelView

out vec3 Color;
void main()
{
    Color = VertexColor;

    gl_Position =  MVPMatrix* vec4(VertexPosition,1.0);
}